<template>
  <b-card body-class="p-0" header-class="border-0">
    <template v-slot:header>
      <b-row align-v="center">
        <b-col>
          <h3 class="mb-0">回测指标</h3>
        </b-col>
        <b-col class="text-right">
          <!-- <a href="#!" class="btn btn-sm btn-primary">See all</a> -->
        </b-col>
      </b-row>
    </template>

    <el-table
      class="table-responsive table"
      :data="tableData"
      header-row-class-name="thead-light"
      v-show="bool_show_table"
    >
      <el-table-column label="评价指标" min-width="130px" prop="metric">
      </el-table-column>
      <el-table-column label="值" min-width="70px" prop="value">
      </el-table-column>
    </el-table>
  </b-card>
</template>
<script>
import {
  Table,
  TableColumn,
  DropdownMenu,
  DropdownItem,
  Dropdown,
} from "element-ui";
export default {
  name: "page-visits-table",
  components: {
    [Table.name]: Table,
    [TableColumn.name]: TableColumn,
    [Dropdown.name]: Dropdown,
    [DropdownItem.name]: DropdownItem,
    [DropdownMenu.name]: DropdownMenu,
  },
  methods: {
    update_tableData(data) {
      this.tableData = data;
    },
  },
  data() {
    return {
      tableData: [
        {},
      ],
      bool_show_table:false,
    };
  },
};
</script>
<style>
</style>
